package com.xxxy.mapper;

import com.xxxy.domain.Order;
import feign.Param;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface OrderMapper {
    /**
     * 创建订单
     */
    void create(Order order);

    /**
     * 更新订单状态
     */
    void update(@Param("userId") Long userId, @Param("status") Integer status);
}


